package com.shoulei.designpattern.bridgePattern;

/**
 * @ClassName:BridgePatternDemo
 * @Descrition:
 * @Author:shoulei
 * @Date:2019/3/31 22:30
 * @Verson:
 */
public class BridgePatternDemo {
    public static void main(String[] args) {
        Shape redCircle = new Circle(new RedCircle(),100,100,100);
        Shape greenCircle = new Circle(new GreenCircle(),100,100,10);
        redCircle.draw();
        greenCircle.draw();
    }
}
